package cn.ffcs.uec.recordsApproval.constant;

public class ApprovalConstants {

	/**
	 * 审批同意时返回的参数，在完成流程图时决定走向
	 */
	public static final String ON_APPROVAL_RESULT = "1";
	/**
	 * 驳回时返回的参数，在完成流程图时决定走向
	 */
	public static final String ON_REJECT_RESULT = "0";
	/**
	 * 重新申请时返回的参数，在完成流程图时决定走向
	 */
	public static final String ON_OK_RESULT = "1";
	/**
	 * 任务处理返回正常状态
	 */
	public static final Integer STATUS_OK = 1;
	/**
	 * 任务处理返回异常状态，任务不存在或已处理
	 */
	public static final Integer STATUS_ERROR = -1;
	/**
	 * 选择一条任务待办记录抛出的事件名
	 */
	public static final String ON_SELECTED_TASK = "onSelectTask";
	
	public static final String ON_SELECTED_TASK_RESPONSE = "onSelectTaskResponse";

	public static final String ON_SELECTED_HISTORIC_FLOW = "onSelectHistoricFlow";
	public static final String ON_SELECTED_OUTSTAFF_ENTRY_HISTORIC_FLOW = "onSelectOutStaffEntryHistoricFlow";
	public static final String ON_SELECTED_OUTSTAFF_CORRECT_HISTORIC_FLOW = "onSelectOutStaffCorrectHistoricFlow";

	public static final String ON_SELECTED_HISTORIC_FLOW_RESPONSE = "onSelectHistoricFlowResponse";
	public static final String ON_SELECTED_HISTORIC_RESPONSE = "onSelectHistoricResponse";
	public static final String ON_SELECTED_OUTSTAFF_ENTRY_HISTORIC_FLOW_RESPONSE = "onSelectHistoricOutStaffEntryFlowResponse";
	public static final String ON_SELECTED_OUTSTAFF_CORRECT_HISTORIC_FLOW_RESPONSE = "onSelectHistoricOutStaffCorrectFlowResponse";

	/**
	 * 刷新待办任务列表
	 */
	public static final String ON_REFRESH_QUERY = "onRefreshQuery";
	/**
	 * 刷新待办任务列表响应
	 */
	public static final String ON_REFRESH_QUERY_RESPONSE = "onRefreshQueryResponse";
	
	
	/**
	 * 外包人员入职审批弹框页面
	 */
	public static final String OUT_STAFF_ENTRY_VIEW = "/pages_nmg/outStaffEntryApply/comp/outStaffEntryApprovalView_listbox_ext.zul";
	/**
	 * 外包人员转正审批弹框页面
	 */
	public static final String OUT_STAFF_TRIAL_VIEW = "/pages_nmg/outStaffCorrectApply/comp/outStaffCorrectApprovalView_listbox_ext.zul";
	/**
	 * 外包人员调配审批弹窗页面
	 */
	public static final String OUT_STAFF_ADJUST_VIEW = "/pages_nmg/outStaffAdjustApply/comp/outStaffAdjustApprovalView_listbox_ext.zul";
	/**
	 * 外包人员离职审批弹窗页面
	 */
	public static final String OUT_STAFF_LEAVE_VIEW = "/pages_nmg/outStaffLeaveApply/comp/outStaffLeaveApprovalView_listbox_ext.zul";
	/**
	 * 外包人员定调资审批弹窗页面
	 */
	public static final String OUT_STAFF_ADJUST_POST_VIEW = "/pages_nmg/outStaffAdjustPostApply/comp/outStaffAdjustPostApprovalView_main.zul";
	/**
	 * 外包人员奖励审批弹窗页面
	 */
	public static final String OUT_STAFF_ENC_VIEW = "/pages_nmg/outStaffBatchImportApply/comp/outStaffEncImportApprovalView_main.zul";
	/**
	 * 外包人员教育经历修改审批弹窗页面
	 */
	public static final String OUT_STAFF_EDU_EDIT_VIEW = "/pages_nmg/outStaffDataModificationApply/comp/uecOutDocEduApproval_view_ext.zul";
	/**
	 * 外包人员教育经历新增审批弹窗页面
	 */
	public static final String OUT_STAFF_EDU_ADD_VIEW = "/pages_nmg/outStaffDataModificationApply/comp/uecOutDocEduApproval_view_ext.zul";
	/**
	 * 外包人员奖励惩罚弹窗页面
	 */
	public static final String OUT_STAFF_PUNISH_VIEW = "/pages_nmg/outStaffBatchImportApply/comp/outStaffPunishImportApprovalView_main.zul";
	/**
	 * 外包人员考核弹窗页面
	 */
	public static final String OUT_STAFF_ASS_VIEW = "/pages_nmg/outStaffBatchImportApply/comp/outStaffAssImportApprovalView_main.zul";
	/**
	 * 外包人员专业人才队伍审批弹窗页面
	 */
	public static final String OUT_STAFF_TALENT_TEAM_VIEW = "/pages_nmg/outStaffBatchImportApply/comp/outStaffTalentImportApprovalView_main.zul";

	/**
	 * 外包人员技术职务新增修改审批弹窗页面
	 */
	public static final String OUT_STAFF_TITLE_VIEW = "/pages_nmg/outStaffDataModificationApply/comp/outStaffTitleModificationApprovalView_main.zul";
	/**
	 * 外包人员政治面貌新增修改审批弹窗页面
	 */
	public static final String OUT_STAFF_PARTYLOG_VIEW = "/pages_nmg/outStaffDataModificationApply/comp/outStaffPartyLogModificationApprovalView_main.zul";
	/**
	 * 外包人员工作时间修改审批弹窗页面
	 */
	public static final String OUT_STAFF_WORKDATE_VIEW = "/pages_nmg/outStaffDataModificationApply/comp/outStaffWorkDateModificationApprovalView_main.zul";
	/**
	 * 合同制定调资申请审批弹窗页面
	 */
	public static final String STAFF_ADJUST_POST_VIEW = "/pages_nmg/staffAdjustPostApply/comp/staffAdjustPostApprovalView_main.zul";
	/**
	 * 新增操作
	 */
	public static final String OP_TYPE_ADD = "ADD";

	/**
	 * 编辑操作
	 */
	public static final String OP_TYPE_EDIT = "EDIT";

	/**
	 * 查看操作
	 */
	public static final String OP_TYPE_VIEW = "onView";

	// 生产环境 流程定义ID
	 /**
	 * 入职流程定义ID
	 */
	 public static final String OUT_STAFF_ENTRY_PROC_DEF_ID =
	 "outStaffEntry:1:3c9890e7ee0e4f21a5d05a86a05c6946";
	 /**
	 * 转正流程定义ID
	 */
	 public static final String OUT_STAFF_CORRECT_PROC_DEF_ID =
	 "outStaffTrial:1:db32b010ac0346c89fa013315d1b58e6";
	 /**
	 * 离退流程定义ID
	 */
	 public static final String OUT_STAFF_RETIRE_PROC_DEF_ID =
	 "outStaffRetire:1:a96449ce858b4aad824c0325c3bd390c";
	 /**
	 * 调配流程定义ID
	 */
	 public static final String OUT_STAFF_ADJUST_PROC_DEF_ID =
	 "outStaffPsnjobEdit:1:b1767de329144fa5b2c7f778e14aa92a";
	 /**
	 * 定调资流程定义ID
	 */
	 public static final String OUT_STAFF_ADJUST_POST_PROC_DEF_ID =
	 "outStaffAdjustPost:1:f8e9d08640ce4251ae07558615099086";
	 /**
	 * 奖励流程定义ID
	 */
	 public static final String OUT_STAFF_ENC_PROC_DEF_ID =
	 "outStaffEncEdit:1:e5d4e2cecb2343c8ae5748bc912f5251";
	 /**
	 * 惩罚流程定义ID
	 */
	 public static final String OUT_STAFF_PUNISH_PROC_DEF_ID =
	 "outStaffPunishEdit:1:f38ed07433db43f9b7f9cead665cd1c7";
	 /**
	 * 专业人才队伍流程定义ID
	 */
	 public static final String OUT_STAFF_TALENT_TEAM_PROC_DEF_ID =
	 "outStaffTalentTeamEdit:1:319d4fa836f64cb082c6a2b91d9945cb";
	 /**
	 * 教育经历新增流程定义ID
	 */
	 public static final String OUT_STAFF_EDU_ADD_PROC_DEF_ID =
	 "outStaffEduAdd:1:ea56144c640d436aa7edef9cdebb1de3";
	 /**
	 * 教育经历修改流程定义ID
	 */
	 public static final String OUT_STAFF_EDU_EDIT_PROC_DEF_ID =
	 "outStaffEduEdit:1:0bbe456d988b49dda9f266cfe2eb6931";
	 /**
	 * 专业技术职务新增流程定义ID
	 */
	 public static final String OUT_STAFF_TITLE_ADD_PROC_DEF_ID =
	 "outStaffTitleAdd:1:78384855169d4feaa9fa71cf1e070d14";
	 /**
	 * 专业技术职务修改流程定义ID
	 */
	 public static final String OUT_STAFF_TITLE_EDIT_PROC_DEF_ID =
	 "outStaffTitleEdit:1:a74f781308b94b1099a163cda9307484";
	 /**
	 * 政治面貌新增流程定义ID
	 */
	 public static final String OUT_STAFF_PARTY_LOG_ADD_PROC_DEF_ID =
	 "outStaffPartylogAdd:1:bf1480482dad4281b64a7863219c32b6";
	 /**
	 * 政治面貌修改流程定义ID
	 */
	 public static final String OUT_STAFF_PARTY_LOG_EDIT_PROC_DEF_ID =
	 "outStaffPartylogEdit:1:173c9d2062324fd2b7abbef46f696fd7";
	 /**
	 * 工作日期修改流程定义ID
	 */
	 public static final String OUT_STAFF_WORK_DATE_EDIT_PROC_DEF_ID =
	 "outStaffWorkDateEdit:1:1e18393a3b78427da8f18b0f6881d993";
	 /**
	 * 考核批量导入流程定义ID
	 */
	 public static final String OUT_STAFF_ASSESS_PROC_DEF_ID =
	 "outStaffAssess:1:b99b679522514aa0a6224418340148a1";

	 public static final String STAFF_ADJUST_POST_PROC_DEF_ID =
	 "staffAdjustPost:1:eced1e89620c4a958e7910c40ca9bab6";

	// 测试环境 流程定义ID
//	/**
//	 * 入职流程定义ID
//	 */
//	public static final String OUT_STAFF_ENTRY_PROC_DEF_ID = "outStaffEntry:1:b080c5b16d8041d8a91f5510d8e797e5";
//	/**
//	 * 转正流程定义ID
//	 */
//	public static final String OUT_STAFF_CORRECT_PROC_DEF_ID = "outStaffTrial:1:1165078be65b48d69b329f03ed857bc8";
//	/**
//	 * 离退流程定义ID
//	 */
//	public static final String OUT_STAFF_RETIRE_PROC_DEF_ID = "outStaffRetire:1:6ac3336faa6e422a9ecd457b01cd878d";
//	/**
//	 * 调配流程定义ID
//	 */
//	public static final String OUT_STAFF_ADJUST_PROC_DEF_ID = "outStaffPsnjobEdit:1:049fce51c4ce4ad39da2c2ae9e5c0ad2";
//	/**
//	 * 定调资流程定义ID
//	 */
//	public static final String OUT_STAFF_ADJUST_POST_PROC_DEF_ID = "outStaffAdjustPost:1:5385af7b9e514d26819be6c492a6545d";
//	/**
//	 * 奖励流程定义ID
//	 */
//	public static final String OUT_STAFF_ENC_PROC_DEF_ID = "outStaffEncEdit:1:ed46d0e66e1042e2b219ac9799623bfd";
//	/**
//	 * 惩罚流程定义ID
//	 */
//	public static final String OUT_STAFF_PUNISH_PROC_DEF_ID = "outStaffPunishEdit:1:25ce12b9340744a9ada22a67c44229dd";
//	/**
//	 * 专业人才队伍流程定义ID
//	 */
//	public static final String OUT_STAFF_TALENT_TEAM_PROC_DEF_ID = "outStaffTalentTeamEdit:1:a0e88398536f41a1b4a15d2feaaff2b0";
//	/**
//	 * 教育经历新增流程定义ID
//	 */
//	public static final String OUT_STAFF_EDU_ADD_PROC_DEF_ID = "outStaffEduAdd:1:7676848c78974dcbbf5309f8aefb8101";
//	/**
//	 * 教育经历修改流程定义ID
//	 */
//	public static final String OUT_STAFF_EDU_EDIT_PROC_DEF_ID = "outStaffEduEdit:1:9dd0866b3a2a4bc8b61d92d986d3750a";
//	/**
//	 * 专业技术职务新增流程定义ID
//	 */
//	public static final String OUT_STAFF_TITLE_ADD_PROC_DEF_ID = "outStaffTitleAdd:1:25f629f94a2447c3bdee65294ace2b95";
//	/**
//	 * 专业技术职务修改流程定义ID
//	 */
//	public static final String OUT_STAFF_TITLE_EDIT_PROC_DEF_ID = "outStaffTitleEdit:1:9cad396b5a6447d1ae3a6b3429558c34";
//	/**
//	 * 政治面貌新增流程定义ID
//	 */
//	public static final String OUT_STAFF_PARTY_LOG_ADD_PROC_DEF_ID = "outStaffPartylogAdd:1:dab389dfea7d4326ae7d28851b2b9b94";
//	/**
//	 * 政治面貌修改流程定义ID
//	 */
//	public static final String OUT_STAFF_PARTY_LOG_EDIT_PROC_DEF_ID = "outStaffPartylogEdit:1:cdeda72eb4e9405bbeca77502ea9bdee";
//	/**
//	 * 工作日期修改流程定义ID
//	 */
//	public static final String OUT_STAFF_WORK_DATE_EDIT_PROC_DEF_ID = "outStaffWorkDateEdit:1:debe51c18d044e67a7e65b37fb21b126";
//	/**
//	 * 考核批量导入流程定义ID
//	 */
//	public static final String OUT_STAFF_ASSESS_PROC_DEF_ID = "outStaffAssess:1:42557cc2969d4856b256fc13335973fd";
//	/**
//	 * 合同制定调资流程定义ID
//	 */
//	public static final String STAFF_ADJUST_POST_PROC_DEF_ID = "staffAdjustPost:1:5f0cbe8dd6af46259abd0dc0ef8f5b0b";


	 
	// 流程分类
	/**
	 * 外包人员信息修改流程分类ID
	 */
	public static final String MODIFICATION_CATEGORY_ID = "66";
	/**
	 * 入职流程分类ID
	 */
	public static final String ENTRY_CATEGORY_ID = "67";
	/**
	 * 转正流程分类ID
	 */
	public static final String CORRECT_CATEGORY_ID = "68";
	/**
	 * 调配流程分类ID
	 */
	public static final String ADJUST_CATEGORY_ID = "69";
	/**
	 * 调薪流程分类ID
	 */
	public static final String ADJUST_POST_CATEGORY_ID = "70";
	/**
	 * 离职流程分类ID
	 */
	public static final String LEAVE_CATEGORY_ID = "71";
	
	// 流程紧急程度
	/**
	 * 一般紧急
	 */
	public static final String GENERAL_URGENT = "1";
	/**
	 * 非常紧急
	 */
	public static final String EXTRA_URGENT = "10";

	// 组织 ， 部门 ，岗位 联动抛出事件名
	/**
	 * 组织控件抛出事件名
	 */
	public static final String ORG_POSTEVENTS_NAME = "onSelectOrgDeptByPkOrg";
	public static final String ORG_POSTEVENTS_NAME_RESPONSE = "onSelectOrgDeptByPkOrgResponse";
	/**
	 * 部门控件抛出事件名
	 */
	public static final String DEPT_POSTEVENTS_NAME = "onUecDeptSelect";
	public static final String DEPT_POSTEVENTS_NAME_RESPONSE = "onUecDeptSelectResponse";

}
